﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ClassLibraries
{
    public class AppSets
    {
        public static Encoding Encodings { get; set; } = Encoding.UTF8;

        public static string ConfigPath { get; set; } = System.IO.Directory.GetCurrentDirectory() + "\\Config";

        public static string TimeFormatString { get; set; } = "yyyy-MM-dd HH:mm:ss";
<<<<<<< HEAD
        
        public static int MainMenuWide { get; set; } = 250;
=======
>>>>>>> c4d368debfd561880f18e1265c37f05f0a9b4c7c

        #region SqlServer Connection Pool
        public static int MaxPool { get { return _MaxPool; } set { _MaxPool = value; } }
        private static int _MaxPool = 5;

        public static int MinPool { get { return _MinPool; } set { _MinPool = value; } }
        private static int _MinPool = 2;

        public static int Conn_Timeout { get { return _Conn_Timeout; } set { _Conn_Timeout = value; } }
        private static int _Conn_Timeout = 50;

        public static int Conn_Lifetime { get { return _Conn_Lifetime; } set { _Conn_Lifetime = value; } }
        private static int _Conn_Lifetime = 300;

        public static bool Asyn_Process { get { return _Asyn_Process; } set { _Asyn_Process = value; } }
        private static bool _Asyn_Process = true;

        #endregion
    }
    public enum ColumnType
    {
        HeaderText = 0x01,
        ColumnName = 0x02,
    }
}
